home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / set_environment < prev    next >
Text File  |  2001-04-06  |  532b  |  18 lines

  1. SYNOPSIS
  2.         void set_environment(object item, object env)
  3.  
  4. DESCRIPTION
  5.         The item is moved into its new environment env, which may be 0.
  6.         This efun is to be used in the move_object() hook, as it does
  7.         nothing else than moving the item - no calls to init() or such.
  8.  
  9.         Don't use it in your own objects!
  10.  
  11. HISTORY
  12.         Introduced in 3.2.1@1 as 'efun308()', renamed to 'set_environment()'
  13.         in 3.2.6.
  14.  
  15. SEE ALSO
  16.         remove(A), init(A), move_object(E), transfer(E), hooks(C),
  17.         native(C)
  18.